package org.example.qianmiandehua;

public class App {
    public static void main(String[] args) {
        DemoB b1 = new DemoB();
        DemoC c1 = new DemoC();
        b1.b();
        c1.c();
        System.out.println("----------------------");
        DemoB b2 = new DemoB();
        DemoC c2 = new DemoC();
        DemoA a = new DemoA();
        b2.b(a);
        c2.c(a);
    }
}
